lua string to number

209

string to int lua -

local a = "10"
print(type(a))
local num = tonumber(a)
print(type(num))

Comments

Submit
0 Comments